package com.Service.impl;

import com.Service.PortfolioService;

import com.dao.PortfolioMapper;

import com.model.pojo.Package;
import com.model.pojo.Portfolio;

import org.springframework.stereotype.Service;
import com.model.pojo.Package;
import javax.annotation.Resource;
import java.util.List;


@Service
public class portfolioServiceImpl implements PortfolioService {

    @Resource
    private PortfolioMapper portfolioMapper;

    @Override
    public List<Portfolio> findPortfolioList(Portfolio portfolio) {

        return  portfolioMapper.findPortfolioList(portfolio);
    }

    @Override
    public List<Package> findPackageList(Package packages) {
        return portfolioMapper.findPackageList(packages);
    }

    @Override
    public List<Integer> findIdByPackage(Integer pid) {
        return portfolioMapper.findIdByPackage(pid);
    }


}
